home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 3 / Cream of the Crop 3.iso / clipper / ks94an.zip / INT2LB.HDR < prev    next >
Text File  |  1994-04-25  |  787b  |  32 lines

  1. /******************************************************************************
  2.                  The Klipper Library, for CA-Clipper 5.x
  3.         Copyright (c), 1994, Wallace Information Systems Engineering
  4.  
  5. FUNCTION:
  6.  
  7. _Int2LB(nInteger, nPlaces)
  8.  
  9. PARAMETERS:
  10.  
  11. nInteger: integer value to convert to binary string
  12. nPlaces : Number of binary places to return (1-8)
  13.  
  14. SHORT:
  15.  
  16. Convert integer to long binary string
  17.  
  18. DESCRIPTION:
  19.  
  20. _Int2LB() is exactly like _Int2B() with the exception that it can handle a
  21. return binary string up to 64 places in length
  22.  
  23. NOTE:
  24.  
  25. EXAMPLE:
  26.  
  27. ? _Int2B(13,4)   // "1101"
  28. ? _Int2B(13,8)   // "0001101"
  29. ? _Int2B(13,32)  // "00000000000000000000000000001101"
  30.  
  31. ******************************************************************************/
  32.